package example.players;
import rafael.bot.NaiveBayesModel;
import roshambo.Player;

public class BayesPlayer implements Player{
	private ModelPlayer mp;
	public BayesPlayer(int memory) {
		mp = new ModelPlayer(new NaiveBayesModel(memory),memory);
	}
	@Override
	public void newGame(int games) {
		mp.newGame(games);
	}
	@Override
	public int play() {
		 return mp.play();
	}
	
	@Override
	public void receive(int result) {
		mp.receive(result);
	}
}
